Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(reservation): while expanding, with refquota setting #595

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

abuisine
Copy link
Contributor

Why is this PR required? What issue does it fix?:
Fixes #568

What this PR does?:
Apply reservation while expanding volumes/filesystems

Does this PR require any upgrade changes?:
No

If the changes in this PR are manually verified, list down the scenarios covered::
N/A

Any additional information for your reviewer? :
Continuation of #589

Checklist:

Signed-off-by: Alexandre Buisine <alexandre.buisine@enix.fr>
@abuisine abuisine force-pushed the fix_resize_reservation branch from 59df1ae to 20fda15 Compare October 10, 2024 09:26
@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.37%. Comparing base (e3d55d7) to head (20fda15).
Report is 4 commits behind head on develop.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #595   +/-   ##
========================================
  Coverage    96.37%   96.37%           
========================================
  Files            1        1           
  Lines          496      496           
========================================
  Hits           478      478           
  Misses          14       14           
  Partials         4        4           
Flag Coverage Δ
bddtests 96.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Abhinandan-Purkait Abhinandan-Purkait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @abuisine LGTM. Would you mind adding a test for the same? Or we can take that up with a separate issue/pr.

Copy link
Contributor

@tiagolobocastro tiagolobocastro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Should we also update one of the resize tests to check the reservation is updated?

@Abhinandan-Purkait
Copy link
Member

@tiagolobocastro Can you please re-approve it. Seems like the two simultaneous operations removed your approval.

Copy link
Member

@Abhinandan-Purkait Abhinandan-Purkait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @abuisine Are anymore changes left from your side or can we merge this?

@abuisine
Copy link
Contributor Author

abuisine commented Oct 16, 2024 via email

@Abhinandan-Purkait
Copy link
Member

@abuisine Thanks, merging this now.

@Abhinandan-Purkait Abhinandan-Purkait merged commit d52f9a9 into openebs:develop Oct 16, 2024
8 checks passed
chris199512 pushed a commit to chris199512/zfs-localpv that referenced this pull request Oct 21, 2024
Signed-off-by: Alexandre Buisine <alexandre.buisine@enix.fr>
Signed-off-by: chris199512 <84684730+chris199512@users.noreply.github.com>
@abuisine
Copy link
Contributor Author

Hi there ! Any chance to see this released soon ?

@Abhinandan-Purkait
Copy link
Member

@abuisine Yes, we would be releasing in couple of weeks. cc @avishnu @tiagolobocastro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZFS Reservation is not updated when resizing a volume (thinprovisining disabled).
5 participants